package edu.yctc.weblog.constant;

/**
 * 
 * @className RequestAttribute
 * @description 请求设置参数
 * @author zyj
 * @date 2020年6月16日
 *
 */
public class RequestAttributes {

    // name
    public static final String ERROR_MSG = "errorMsg";
    public static final String PATH = "path";
    public static final String LOGIN_USER_NAME = "loginUserName";
    public static final String NIKE_NAME = "nickName";
    public static final String CATEGORIES = "categories";
    public static final String BLOG = "blog";
    public static final String BLOG_PAGE_RESULT = "blogPageResult";
    public static final String NEW_BLOGS = "newBlogs";
    public static final String HOT_BLOGS = "hotBlogs";
    public static final String HOT_TAGS = "hotTags";
    public static final String PAGE_NAME = "pageName";
    public static final String CONFIGURATIONS = "configurations";
    public static final String KEYWORD = "keyword";
    public static final String PAGE_URL = "pageUrl";
    public static final String BLOG_DETAIL_VO = "blogDetailVO";
    public static final String COMMENT_PAGE_RESULT = "commentPageResult";
    public static final String CATEGORY_COUNT = "categoryCount";
    public static final String BLOG_COUNT = "blogCount";
    public static final String LINK_COUNT = "linkCount";
    public static final String TAG_COUNT = "tagCount";
    public static final String COMMENT_COUNT = "commentCount";
    public static final String LINK_FAVORITE = "favoriteLinks";
    public static final String LINK_COMMEND = "recommendLinks";
    public static final String LINK_PERSONAL = "personalLinks";

    // value
    public static final String VALUE_INDEX = "index";
    public static final String VALUE_PROFILE = "profile";
    public static final String VALUE_CATEGORY = "category";
    public static final String VALUE_TAGS = "tags";
    public static final String VALUE_EDIT = "edit";
    public static final String VALUE_BLOGS = "blogs";
    public static final String VALUE_LINKS = "links";
    public static final String VALUE_SEARCH = "search";
    public static final String VALUE_PAGE_NAME_INDEX = "首页";
    public static final String VALUE_PAGE_NAME_SEARCH = "搜索";
    public static final String VALUE_PAGE_NAME_TAG = "标签";
    public static final String VALUE_TAG = "tag";
    public static final String VALUE_DETAIL = "详情";
    public static final String VALUE_COMMENTS = "comments";
    public static final String VALUE_PAGE_NAME_LINKS = "友情链接";
    public static final String VALUE_CONFIGURATIONS = "configurations";
    public static final String VALUE_PAGE_NAME_CATEGORY = "分类";

    // MSG
    public static final String MSG_ACCOUNT_PASSWORD_CANNOT_EMPTY = "account or password can not be empty";
    public static final String MSG_ERROR_VERIFY_CODE = "error verify code";
    public static final String MSG_ERROR_FORMAT = "check your input";
    public static final String MSG_SIGN_IN_AGAIN = "please sign in first";
    public static final String MSG_PARAMETER_CANNOT_EMPTY = "parameter cannot be empty";
    public static final String MSG_UPDATE_PASSWORD_SUCCESS = "success";
    public static final String MSG_UPDATE_NAME_SUCCESS = "success";

}
